<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<s:form action="submitNewCourse">
<table>
<tr>
	<td>Add Your New Course Here.</td>
</tr>

<tr>
	<td><s:textfield name="course_name" label="Course Name"/></td>
	<td><s:textfield name="course_code" label="course code"/></td>
</tr>
<tr>
	<td><s:textfield name="duration" label="Duration In Month"/></td>
	<td><s:textfield name="credit" label="Max Credit Score"/></td>
</tr>
<tr>
	<td><s:textfield name="lab" label=" Max Lab Marks"/></td>
	<td><s:textfield name="theory" label="Max Theory Marks"/></td>
</tr>
<tr>
	<td><s:textfield name="start_year" label="Start Year"/></td>
	<td>
		<s:select list ="department_list" listValue="department_name" listKey="department_id" name="department_id" value="department_name" label="department name"></s:select>
	</td>
</tr>
</table>
	
<s:submit name="Add" label="Add Course"/>
</s:form>
</body>
</html>